import { Injectable } from '@angular/core';
import { FrameContext} from '@farris/devkit';
@Injectable()
export class SbssSbtzDeiltaFrmControllerService {
  constructor(
    private frameContext: FrameContext,
  ) {}



  /**
   * 获取传递的参数
   */
  public getUIState(){
    const uiState = this.frameContext.uiState;
    let lbid = uiState['lbid']
    let lbmc = uiState['lbmc']
    let lbbh = uiState['lbbh']
    let bindingData = this.frameContext.bindingData
    bindingData.setValue(['sblb_id','sblb_id'],lbid)
    bindingData.setValue(['sblb_id','sblb_id_lbmc'],lbmc)
    bindingData.setValue(['sblb_id','sblb_id_lbbh'],lbbh)

    console.log(this.frameContext)
  }
}
